﻿namespace Net6Shell.Vo
{
    /// <summary>
    /// 传入 ---- 分页实体
    /// </summary>
    public class PageVm<T> where T : class ,new()
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageNumber { get; set; } =1; // pagenumber是从1开始的不是从零开始的
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } =10;


        /// <summary>
        /// 查询条件实体
        /// </summary>
        public T Where { get; set; }
    }
}
